package com.cgnpc.scp.hr.service;

import com.cgnpc.cud.core.domain.AjaxResult;
import com.cgnpc.scp.common.bean.CreateFileInfo;
import com.cgnpc.scp.common.bean.MyPageResult;
import com.cgnpc.scp.hr.mybatis.entity.HrUserInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface HrUserInfoService {

    MyPageResult<HrUserInfo> queryListPage(Map<String, Object> params);

    AjaxResult info(String id);

    AjaxResult delete(List<String> ids);

    AjaxResult save(HrUserInfo hrUserInfo);

    AjaxResult update(HrUserInfo hrUserInfo);

    Boolean importFromExcel(MultipartFile file) throws IOException;

    CreateFileInfo exportExcel(Map<String, Object> params) throws Exception;
}
